package com.thenmoret.pojo;

import java.util.ArrayList;
import java.util.List;

/**
 * 文章分页bean
 * @author ChenHao.Ye
 *
 * 时间:2016年6月23日下午8:04:44
 */
public class PageBean<T> {

	//当前页
	private Integer currPage;
	//每页显示的记录数
	private Integer pageSize; 
	//总记录数
	private Integer allPage;
	//总页号
	private Integer allPageSize;
	//文章的集合
	private List<T> List = new ArrayList<T>();
	public PageBean()
	{
		
	}
	public Integer getCurrPage() {
		return currPage;
	}
	public void setCurrPage(Integer currPage) {
		this.currPage = currPage;
	}
	public Integer getPageSize() {
		return pageSize;
	}
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	public Integer getAllPage() {
		return allPage;
	}
	public void setAllPage(Integer allPage) {
		this.allPage = allPage;
	}
	public Integer getAllPageSize() {
		return allPageSize;
	}
	public void setAllPageSize(Integer allPageSize) {
		this.allPageSize = allPageSize;
	}
	public List<T> getList() {
		return List;
	}
	public void setList(List<T> list) {
		List = list;
	}
	
}
